package de.kardass.jannobatch.examples.simple;

import de.kardass.jannobatch.ItemWriter;
import de.kardass.jannobatch.examples.simple.data.SimpleOutputItem;

public class SimpleDataConsumer implements ItemWriter<SimpleOutputItem> {

	@Override
	public void onShutDown() {
		System.out.println("..." + getClass() + "-> finish");
	}

	@Override
	public void onStartUp() {
		System.out.println("..." + getClass() + "-> init");
	}

	@Override
	public void write(SimpleOutputItem item) {
		System.out.println("..." + getClass() + "-> process - " + item);
	}

}
